<!DOCTYPE html>
<html lang="zh-cn">
<head prefix="og: http://ogp.me/ns#">
  <meta charset="utf-8">
  <title>starRTC文档</title>
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- Canonical links -->
  <link rel="canonical" href="https://starrtc.gitee.io/zh-cn/docs/web-10.html">
  <!-- Alternative links -->
  
    
      <link rel="alternative" hreflang="en" href="https://starrtc.gitee.io/docs/web-10.html">
    
      <link rel="alternative" hreflang="zh-cn" href="https://starrtc.gitee.io/zh-cn/docs/web-10.html">
    
  
  <!-- Icon -->
  <link rel="apple-touch-icon" sizes="57x57" href="/icon/apple-touch-icon-57x57.png">
  <link rel="apple-touch-icon" sizes="114x114" href="/icon/apple-touch-icon-114x114.png">
  <link rel="apple-touch-icon" sizes="72x72" href="/icon/apple-touch-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="144x144" href="/icon/apple-touch-icon-144x144.png">
  <link rel="apple-touch-icon" sizes="60x60" href="/icon/apple-touch-icon-60x60.png">
  <link rel="apple-touch-icon" sizes="120x120" href="/icon/apple-touch-icon-120x120.png">
  <link rel="apple-touch-icon" sizes="76x76" href="/icon/apple-touch-icon-76x76.png">
  <link rel="apple-touch-icon" sizes="152x152" href="/icon/apple-touch-icon-152x152.png">
  <link rel="icon" type="image/png" href="/icon/favicon-196x196.png" sizes="196x196">
  <link rel="icon" type="image/png" href="/icon/favicon-160x160.png" sizes="160x160">
  <link rel="icon" type="image/png" href="/icon/favicon-96x96.png" sizes="96x96">
  <link rel="icon" type="image/png" href="/icon/favicon-16x16.png" sizes="16x16">
  <link rel="icon" type="image/png" href="/icon/favicon-32x32.png" sizes="32x32">
  <meta name="msapplication-TileColor" content="#2f83cd">
  <meta name="msapplication-TileImage" content="/icon/mstile-144x144.png">
  <!-- CSS -->
  <!-- build:css build/css/navy.css -->
  <link rel="stylesheet" href="/css/navy.css">
  <!-- endbuild -->
  <link href="https://starrtc.gitee.io/googleapis.css" rel="stylesheet" type="text/css">
 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> 
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.css">
  <!-- RSS -->
  <link rel="alternate" href="/atom.xml" title="starRTC文档">
  <!-- Open Graph -->
  <meta name="description" content="超级对讲10.1 获取StarRtc.StarRoomSDK实例，实现回调函数function superTalkCallBack(data, status, oper) &amp;#123;	switch (status) &amp;#123;		case &quot;connect success&quot;:			//连接成功			break;		case &quot;connect failed&quot;:		case &quot;connect cl">
<meta property="og:type" content="website">
<meta property="og:title" content="starRTC文档">
<meta property="og:url" content="https://starrtc.gitee.io/zh-cn/docs/web-10.html">
<meta property="og:site_name" content="starRTC文档">
<meta property="og:description" content="超级对讲10.1 获取StarRtc.StarRoomSDK实例，实现回调函数function superTalkCallBack(data, status, oper) &amp;#123;	switch (status) &amp;#123;		case &quot;connect success&quot;:			//连接成功			break;		case &quot;connect failed&quot;:		case &quot;connect cl">
<meta property="og:locale" content="zh-cn">
<meta property="og:updated_time" content="2020-09-06T00:27:31.378Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="starRTC文档">
<meta name="twitter:description" content="超级对讲10.1 获取StarRtc.StarRoomSDK实例，实现回调函数function superTalkCallBack(data, status, oper) &amp;#123;	switch (status) &amp;#123;		case &quot;connect success&quot;:			//连接成功			break;		case &quot;connect failed&quot;:		case &quot;connect cl">
<meta name="twitter:site" content="hexojs">
<meta property="fb:admins" content="100000247608790">
  <!-- Google Analytics -->
  
</head>

<body>
  <div id="container">
    <header id="header" class="wrapper">
  <div id="header-inner" class="inner">
    <h1 id="logo-wrap">
      
      <a href="https://starrtc.gitee.io/" id="logo">starRTC</a>
    </h1>
    <nav id="main-nav">
      <a href="https://starrtc.gitee.io/" class="main-nav-link">官网</a><a href="https://blog.starRTC.com" class="main-nav-link">博客</a><a href="https://github.com/starrtc/android-demo/issues" class="main-nav-link">论坛</a><a href="/zh-cn/docs/" class="main-nav-link">文档</a><a href="/zh-cn/download/" class="main-nav-link">下载</a><a href="/zh-cn/contact/" class="main-nav-link">联系我们</a>
      
    </nav>
    <div id="lang-select-wrap">
      <label id="lang-select-label"><i class="fa fa-globe"></i><span>简体中文</span></label>
      <select id="lang-select" data-canonical="docs/web-10.html">
        
          <option value="en">English</option>
        
          <option value="zh-cn" selected>简体中文</option>
        
      </select>
    </div>
    <a id="mobile-nav-toggle">
      <span class="mobile-nav-toggle-bar"></span>
      <span class="mobile-nav-toggle-bar"></span>
      <span class="mobile-nav-toggle-bar"></span>
    </a>
  </div>
</header>

    <div id="content-wrap">
  <div id="content" class="wrapper">
    <div id="content-inner">
      <article class="article-container" itemscope itemtype="http://schema.org/Article">
        <div class="article-inner">
          <div class="article">
            <div class="inner">
              <header class="article-header">
                <h1 class="article-title" itemprop="name"></h1>
                <a href="https://github.com/starRTC/docs/edit/master/zh-cn/docs/web-10.md" class="article-edit-link" title="改进本文"><i class="fa fa-pencil"></i></a>
              </header>
              <div class="article-content" itemprop="articleBody">
                <h1 id="超级对讲" class="article-heading"><a href="#超级对讲" class="headerlink" title="超级对讲"></a>超级对讲<a class="article-anchor" href="#超级对讲" aria-hidden="true"></a></h1><h2 id="10-1-获取StarRtc-StarRoomSDK实例，实现回调函数" class="article-heading"><a href="#10-1-获取StarRtc-StarRoomSDK实例，实现回调函数" class="headerlink" title="10.1 获取StarRtc.StarRoomSDK实例，实现回调函数"></a>10.1 获取StarRtc.StarRoomSDK实例，实现回调函数<a class="article-anchor" href="#10-1-获取StarRtc-StarRoomSDK实例，实现回调函数" aria-hidden="true"></a></h2><figure class="highlight js"><table><tr><td class="code"><pre><span class="line"><span class="function"><span class="keyword">function</span> <span class="title">superTalkCallBack</span>(<span class="params">data, status, oper</span>) </span>&#123;</span><br><span class="line">	<span class="keyword">switch</span> (status) &#123;</span><br><span class="line">		<span class="keyword">case</span> <span class="string">"connect success"</span>:</span><br><span class="line">			<span class="comment">//连接成功</span></span><br><span class="line">			<span class="keyword">break</span>;</span><br><span class="line">		<span class="keyword">case</span> <span class="string">"connect failed"</span>:</span><br><span class="line">		<span class="keyword">case</span> <span class="string">"connect closed"</span>:</span><br><span class="line">			<span class="comment">//连接失败</span></span><br><span class="line">			<span class="keyword">break</span>;</span><br><span class="line">		<span class="keyword">case</span> <span class="string">"onWebrtcMessage"</span>:</span><br><span class="line">			<span class="keyword">switch</span> (data.type) &#123;</span><br><span class="line">				<span class="keyword">case</span> <span class="string">"createChannel"</span>:</span><br><span class="line">					<span class="comment">//创建超级对讲，data.status == "success"为成功</span></span><br><span class="line">					<span class="keyword">break</span>;</span><br><span class="line">				<span class="keyword">case</span> <span class="string">"delChannel"</span>:</span><br><span class="line">					<span class="comment">//删除超级对讲，data.status == "success"为成功</span></span><br><span class="line">					<span class="keyword">break</span>;</span><br><span class="line">				<span class="keyword">case</span> <span class="string">"streamCreated"</span>:</span><br><span class="line">					<span class="comment">//本地流创建，data.status == "success"为成功</span></span><br><span class="line">					<span class="keyword">break</span>;</span><br><span class="line">				<span class="keyword">case</span> <span class="string">"srcApplyUpload"</span>:</span><br><span class="line">					<span class="comment">//开启说话状态，data.status == "success"为成功</span></span><br><span class="line">					<span class="keyword">break</span>;</span><br><span class="line">				<span class="keyword">case</span> <span class="string">"vdnApplyDownload"</span>:</span><br><span class="line">					<span class="comment">//加入超级房间状态，data.status == "success"为成功</span></span><br><span class="line">					<span class="keyword">break</span>;</span><br><span class="line">				<span class="keyword">case</span> <span class="string">"addUploader"</span>:</span><br><span class="line">					<span class="comment">//超级房间添加成员</span></span><br><span class="line">					<span class="keyword">break</span>;</span><br><span class="line">				<span class="keyword">case</span> <span class="string">"removeUploader"</span>:</span><br><span class="line">					<span class="comment">//超级房间移除成员</span></span><br><span class="line">					<span class="keyword">break</span>;</span><br><span class="line">				<span class="keyword">case</span> <span class="string">"serverErr"</span>:</span><br><span class="line">					<span class="comment">//服务器错误</span></span><br><span class="line">					<span class="keyword">break</span>;</span><br><span class="line">			&#125;</span><br><span class="line">			<span class="keyword">break</span>;</span><br><span class="line">	&#125;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line"><span class="comment">/**</span></span><br><span class="line"><span class="comment"> * 创建超级对讲房间</span></span><br><span class="line"><span class="comment"> * @param _oper							操作类型：new，创建；open，加入</span></span><br><span class="line"><span class="comment"> * @param _userCallback					消息回调</span></span><br><span class="line"><span class="comment"> * @param _userData						存储超级对讲房间的相关信息（id，name，creator），结构为&#123;"roomInfo":&#123;"id":"",  "name":"", "creator":""&#125;&#125;</span></span><br><span class="line"><span class="comment"> */</span></span><br><span class="line">StarRtc.StarSDK.getSuperRoomSDK = <span class="function"><span class="keyword">function</span> (<span class="params">_oper, _userCallback, _userData</span>)</span></span><br><span class="line"><span class="function"></span></span><br><span class="line"><span class="function">例：</span></span><br><span class="line"><span class="function"><span class="title">var</span> <span class="title">starSDK</span> = <span class="title">new</span> <span class="title">StarRtc</span>.<span class="title">StarSDK</span>(<span class="params"></span>);</span></span><br><span class="line"><span class="function"><span class="title">currRoom</span> = <span class="title">starSDK</span>.<span class="title">getSuperRoomSDK</span>(<span class="params"><span class="string">"open"</span>, superTalkCallBack, &#123;<span class="string">"roomInfo"</span>:&#123;<span class="string">"id"</span>:<span class="string">""</span>, <span class="string">"name"</span>:<span class="string">""</span>, <span class="string">"creator"</span>:<span class="string">""</span>&#125;&#125;</span>);</span></span><br></pre></td></tr></table></figure>
<h2 id="10-2-API-说明" class="article-heading"><a href="#10-2-API-说明" class="headerlink" title="10.2 API 说明"></a>10.2 API 说明<a class="article-anchor" href="#10-2-API-说明" aria-hidden="true"></a></h2><figure class="highlight js"><table><tr><td class="code"><pre><span class="line"></span><br><span class="line"><span class="comment">/**</span></span><br><span class="line"><span class="comment"> * 连接房间</span></span><br><span class="line"><span class="comment"> */</span></span><br><span class="line">StarRtc.StarSuperRoomSDK.sigConnect = <span class="function"><span class="keyword">function</span> (<span class="params"></span>) </span></span><br><span class="line"><span class="function"></span></span><br><span class="line"><span class="function">/**</span></span><br><span class="line"><span class="function"> * 断连房间</span></span><br><span class="line"><span class="function"> * @<span class="title">param</span> <span class="title">flag</span>	是否主动断开连接的标志为，用于判断重连</span></span><br><span class="line"><span class="function"> */</span></span><br><span class="line"><span class="function"><span class="title">StarRtc</span>.<span class="title">StarSuperRoomSDK</span>.<span class="title">sigDisconnect</span> = <span class="title">function</span> (<span class="params">_flag</span>) </span></span><br><span class="line"><span class="function"></span></span><br><span class="line"><span class="function">/**</span></span><br><span class="line"><span class="function"> * 创建房间</span></span><br><span class="line"><span class="function"> */</span></span><br><span class="line"><span class="function"><span class="title">StarRtc</span>.<span class="title">StarSuperRoomSDK</span>.<span class="title">createNew</span> = <span class="title">function</span> (<span class="params"></span>) </span></span><br><span class="line"><span class="function"></span></span><br><span class="line"><span class="function">/**</span></span><br><span class="line"><span class="function"> * 删除房间</span></span><br><span class="line"><span class="function"> */</span></span><br><span class="line"><span class="function"><span class="title">StarRtc</span>.<span class="title">StarSuperRoomSDK</span>.<span class="title">deleteCurrRoom</span> = <span class="title">function</span> (<span class="params"></span>) </span></span><br><span class="line"><span class="function"></span></span><br><span class="line"><span class="function">/**</span></span><br><span class="line"><span class="function"> * 创建本地视频流</span></span><br><span class="line"><span class="function"> * @<span class="title">param</span> <span class="title">streamOption</span> 	流配置（分辨率等），如</span>&#123; <span class="string">"video"</span>: <span class="literal">true</span>, <span class="string">"audio"</span>: &#123; <span class="attr">deviceId</span>: &#123; <span class="attr">ideal</span>: [<span class="string">"default"</span>] &#125; &#125; &#125;， 或&#123; <span class="string">"video"</span>: &#123; <span class="attr">width</span>: &#123; <span class="attr">ideal</span>: <span class="number">640</span> &#125;, <span class="attr">height</span>: &#123; <span class="attr">ideal</span>: <span class="number">480</span> &#125;, <span class="attr">frameRate</span>: &#123; <span class="attr">ideal</span>: <span class="number">25</span> &#125;, <span class="attr">facingMode</span>: &#123; <span class="attr">ideal</span>: [<span class="string">"user"</span>] &#125; &#125;, <span class="string">"audio"</span>: &#123; <span class="attr">deviceId</span>: &#123; <span class="attr">ideal</span>: [<span class="string">"default"</span>] &#125; &#125;</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.createStream = function (streamOption) </span></span><br><span class="line"><span class="regexp"></span></span><br><span class="line"><span class="regexp">/</span>**</span><br><span class="line"> * 加入房间</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.joinRoom = function () </span></span><br><span class="line"><span class="regexp"></span></span><br><span class="line"><span class="regexp">/</span>**</span><br><span class="line"> * 离开房间</span><br><span class="line"> * @param _flag		是否主动离开（可选）</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.leaveRoom = function (_flag) </span></span><br><span class="line"><span class="regexp"></span></span><br><span class="line"><span class="regexp">/</span>**</span><br><span class="line"> * 发送聊天室消息</span><br><span class="line"> * @param msg	消息</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.sendChatMsg = function (msg) </span></span><br><span class="line"><span class="regexp"></span></span><br><span class="line"><span class="regexp">/</span>**</span><br><span class="line"> * 发送聊天室私聊消息</span><br><span class="line"> * @param toUserId	发送对象</span><br><span class="line"> * @param msg		消息</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.sendChatPrivateMsg = function (userId, msg) </span></span><br><span class="line"><span class="regexp"></span></span><br><span class="line"><span class="regexp">/</span>**</span><br><span class="line"> * 聊天室踢人</span><br><span class="line"> * @param kickOutUserId	踢出的用户Id</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.kickOutUser = function (kickOutUserId) </span></span><br><span class="line"><span class="regexp"></span></span><br><span class="line"><span class="regexp">/</span>**</span><br><span class="line"> * 聊天室禁言</span><br><span class="line"> * @param banUserId	禁言的用户Id</span><br><span class="line"> * @param banTime	禁言的时间长度</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.banToSendMsg = function (banUserId, banTime) </span></span><br><span class="line"><span class="regexp"></span></span><br><span class="line"><span class="regexp">/</span>**</span><br><span class="line"> * 获取聊天室在线用户数</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.getRoomOnlineNum = function () </span></span><br><span class="line"><span class="regexp"></span></span><br><span class="line"><span class="regexp">/</span>**</span><br><span class="line"> * 获取是主动断开还是被动断开</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.activeDisconnect = function () </span></span><br><span class="line"><span class="regexp"></span></span><br><span class="line"><span class="regexp">/</span>**</span><br><span class="line"> * 开始对讲</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.startTalk = function () </span></span><br><span class="line"><span class="regexp"></span></span><br><span class="line"><span class="regexp">/</span>**</span><br><span class="line"> * 结束对讲</span><br><span class="line"> *<span class="regexp">/</span></span><br><span class="line"><span class="regexp">StarRtc.StarSuperRoomSDK.endTalk = function ()</span></span><br></pre></td></tr></table></figure>

              </div>
              <footer class="article-footer">
                <time class="article-footer-updated" datetime="2020-09-06T00:27:31.378Z" itemprop="dateModified">上次更新<script type="text/javascript">document.write("："+(new Date()).toISOString().slice(0,10))</script></time>
		<a href="web-9.html" class="article-footer-prev" title="9.互动直播"><i class="fa fa-chevron-left"></i><span>上一页</span></a><a href="win-1.html" class="article-footer-next" title="1.嵌入SDK"><span>下一页</span><i class="fa fa-chevron-right"></i></a>
              </footer>
            </div>
          </div>
          <aside id="article-toc" role="navigation">
            <div id="article-toc-inner">
              <strong class="sidebar-title">目录</strong>
              <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#超级对讲"><span class="toc-text">超级对讲</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#10-1-获取StarRtc-StarRoomSDK实例，实现回调函数"><span class="toc-text">10.1 获取StarRtc.StarRoomSDK实例，实现回调函数</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#10-2-API-说明"><span class="toc-text">10.2 API 说明</span></a></li></ol></li></ol>
              <a href="#" id="article-toc-top">回到顶部</a>
            </div>
          </aside>
        </div>
      </article>
      <aside id="sidebar" role="navigation">
  <div class="inner">
    <strong class="sidebar-title">开始使用</strong><a href="index.html" class="sidebar-link">概述</a><strong class="sidebar-title">Android集成</strong><a href="android-1.html" class="sidebar-link">1.嵌入SDK</a><a href="android-2.html" class="sidebar-link">2.SDK的基本说明</a><a href="android-3b.html" class="sidebar-link">3b.初始化(私有部署)</a><a href="android-4.html" class="sidebar-link">4.一对一消息</a><a href="android-5.html" class="sidebar-link">5.群组消息</a><a href="android-6.html" class="sidebar-link">6.聊天室消息</a><a href="android-7.html" class="sidebar-link">7.一对一视频通话</a><a href="android-8.html" class="sidebar-link">8.视频会议</a><a href="android-9.html" class="sidebar-link">9.互动直播</a><a href="android-10.html" class="sidebar-link">10.其它配套组件</a><a href="android-11.html" class="sidebar-link">11.超级对讲机</a><a href="android-user-list.html" class="sidebar-link">在线用户列表</a><a href="android-beauty-callback.html" class="sidebar-link">美颜接口</a><a href="android-errCode.html" class="sidebar-link">ErrorCode对照表</a><strong class="sidebar-title">iOS集成</strong><a href="ios-1.html" class="sidebar-link">1.嵌入SDK</a><a href="ios-2.html" class="sidebar-link">2.SDK的基本说明</a><a href="ios-3b.html" class="sidebar-link">3b.初始化(私有部署)</a><a href="ios-4.html" class="sidebar-link">4.一对一消息</a><a href="ios-5.html" class="sidebar-link">5.群组消息</a><a href="ios-6.html" class="sidebar-link">6.聊天室消息</a><a href="ios-7.html" class="sidebar-link">7.一对一视频通话</a><a href="ios-8.html" class="sidebar-link">8.视频会议</a><a href="ios-9.html" class="sidebar-link">9.互动直播</a><a href="ios-10.html" class="sidebar-link">10.内网P2P直连通话</a><strong class="sidebar-title">web端集成</strong><a href="web-1.html" class="sidebar-link">1.嵌入SDK</a><a href="web-2.html" class="sidebar-link">2.SDK的基本说明</a><a href="web-4.html" class="sidebar-link">4.一对一消息</a><a href="web-5.html" class="sidebar-link">5.群组消息</a><a href="web-6.html" class="sidebar-link">6.聊天室消息</a><a href="web-7.html" class="sidebar-link">7.一对一视频通话</a><a href="web-8.html" class="sidebar-link">8.视频会议</a><a href="web-9.html" class="sidebar-link">9.互动直播</a><a href="web-10.html" class="sidebar-link current">10.私有部署</a><strong class="sidebar-title">Win PC端集成</strong><a href="win-1.html" class="sidebar-link">1.嵌入SDK</a><a href="win-2.html" class="sidebar-link">2.初始化</a><a href="win-3.html" class="sidebar-link">3.一对一消息</a><a href="win-4.html" class="sidebar-link">4.群组消息</a><a href="win-5.html" class="sidebar-link">5.聊天室消息</a><a href="win-6.html" class="sidebar-link">6.一对一视频通话</a><a href="win-7.html" class="sidebar-link">7.视频会议</a><a href="win-8.html" class="sidebar-link">8.互动直播</a><strong class="sidebar-title">服务端api开发</strong><a href="aec-index.html" class="sidebar-link">概述</a><a href="aec-group.html" class="sidebar-link">群事件通知</a><a href="aec-chatroom.html" class="sidebar-link">聊天室事件通知</a><a href="aec-voip.html" class="sidebar-link">单聊事件通知</a><a href="aec-channel.html" class="sidebar-link">音视频流事件通知</a><a href="aec-other.html" class="sidebar-link">其它事件通知</a>
  </div>
</aside>
    </div>
  </div>
</div>

    <footer id="footer" class="wrapper">
  <div class="inner">
    <div id="footer-copyright">
      &copy; 2010-2020 <a href="https://starrtc.gitee.io/" target="_blank">starRTC</a><br>
    </div>
    <div id="footer-links">
      <a href="https://gitee.com/starrtc" class="footer-link" target="_blank"><i class="fa fa-github-alt"></i></a>
    </div>
  </div>
</footer>

  </div>
  <div id="mobile-nav-dimmer"></div>
  <nav id="mobile-nav">
  <div id="mobile-nav-inner">
    <ul id="mobile-nav-list">
      <a href="https://starrtc.gitee.io/" class="main-nav-link">官网</a><a href="https://blog.starRTC.com" class="main-nav-link">博客</a><a href="https://github.com/starrtc/android-demo/issues" class="main-nav-link">论坛</a><a href="/zh-cn/docs/" class="mobile-nav-link">文档</a><a href="/zh-cn/download/" class="mobile-nav-link">下载</a><a href="/zh-cn/contact/" class="mobile-nav-link">联系我们</a>
      <li class="mobile-nav-item">
        <a href="https://github.com/starrtc" class="mobile-nav-link" rel="external" target="_blank">GitHub</a>
      </li>
    </ul>
    
      <strong class="mobile-nav-title">开始使用</strong><a href="index.html" class="mobile-nav-link">概述</a><strong class="mobile-nav-title">Android集成</strong><a href="android-1.html" class="mobile-nav-link">1.嵌入SDK</a><a href="android-2.html" class="mobile-nav-link">2.SDK的基本说明</a><a href="android-3b.html" class="mobile-nav-link">3b.初始化(私有部署)</a><a href="android-4.html" class="mobile-nav-link">4.一对一消息</a><a href="android-5.html" class="mobile-nav-link">5.群组消息</a><a href="android-6.html" class="mobile-nav-link">6.聊天室消息</a><a href="android-7.html" class="mobile-nav-link">7.一对一视频通话</a><a href="android-8.html" class="mobile-nav-link">8.视频会议</a><a href="android-9.html" class="mobile-nav-link">9.互动直播</a><a href="android-10.html" class="mobile-nav-link">10.其它配套组件</a><a href="android-11.html" class="mobile-nav-link">11.超级对讲机</a><a href="android-user-list.html" class="mobile-nav-link">在线用户列表</a><a href="android-beauty-callback.html" class="mobile-nav-link">美颜接口</a><a href="android-errCode.html" class="mobile-nav-link">ErrorCode对照表</a><strong class="mobile-nav-title">iOS集成</strong><a href="ios-1.html" class="mobile-nav-link">1.嵌入SDK</a><a href="ios-2.html" class="mobile-nav-link">2.SDK的基本说明</a><a href="ios-3b.html" class="mobile-nav-link">3b.初始化(私有部署)</a><a href="ios-4.html" class="mobile-nav-link">4.一对一消息</a><a href="ios-5.html" class="mobile-nav-link">5.群组消息</a><a href="ios-6.html" class="mobile-nav-link">6.聊天室消息</a><a href="ios-7.html" class="mobile-nav-link">7.一对一视频通话</a><a href="ios-8.html" class="mobile-nav-link">8.视频会议</a><a href="ios-9.html" class="mobile-nav-link">9.互动直播</a><a href="ios-10.html" class="mobile-nav-link">10.内网P2P直连通话</a><strong class="mobile-nav-title">web端集成</strong><a href="web-1.html" class="mobile-nav-link">1.嵌入SDK</a><a href="web-2.html" class="mobile-nav-link">2.SDK的基本说明</a><a href="web-4.html" class="mobile-nav-link">4.一对一消息</a><a href="web-5.html" class="mobile-nav-link">5.群组消息</a><a href="web-6.html" class="mobile-nav-link">6.聊天室消息</a><a href="web-7.html" class="mobile-nav-link">7.一对一视频通话</a><a href="web-8.html" class="mobile-nav-link">8.视频会议</a><a href="web-9.html" class="mobile-nav-link">9.互动直播</a><a href="web-10.html" class="mobile-nav-link current">10.私有部署</a><strong class="mobile-nav-title">Win PC端集成</strong><a href="win-1.html" class="mobile-nav-link">1.嵌入SDK</a><a href="win-2.html" class="mobile-nav-link">2.初始化</a><a href="win-3.html" class="mobile-nav-link">3.一对一消息</a><a href="win-4.html" class="mobile-nav-link">4.群组消息</a><a href="win-5.html" class="mobile-nav-link">5.聊天室消息</a><a href="win-6.html" class="mobile-nav-link">6.一对一视频通话</a><a href="win-7.html" class="mobile-nav-link">7.视频会议</a><a href="win-8.html" class="mobile-nav-link">8.互动直播</a><strong class="mobile-nav-title">服务端api开发</strong><a href="aec-index.html" class="mobile-nav-link">概述</a><a href="aec-group.html" class="mobile-nav-link">群事件通知</a><a href="aec-chatroom.html" class="mobile-nav-link">聊天室事件通知</a><a href="aec-voip.html" class="mobile-nav-link">单聊事件通知</a><a href="aec-channel.html" class="mobile-nav-link">音视频流事件通知</a><a href="aec-other.html" class="mobile-nav-link">其它事件通知</a>
    
  </div>
  <div id="mobile-lang-select-wrap">
    <span id="mobile-lang-select-label"><i class="fa fa-globe"></i><span>简体中文</span></span>
    <select id="mobile-lang-select" data-canonical="docs/web-10.html">
      
        <option value="en">English</option>
      
        <option value="zh-cn" selected>简体中文</option>
      
    </select>
  </div>
</nav>
  <!-- Scripts -->
<!-- build:js build/js/main.js -->
<script src="/js/lang_select.js"></script>
<script src="/js/toc.js"></script>
<script src="/js/mobile_nav.js"></script>
<!-- endbuild -->
<!-- Algolia -->

<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script>
<script type="text/javascript">
document.getElementById('search-input-wrap').classList.add('on');
docsearch({
  apiKey: 'cdea7d4e47d84f6145b77e7f68689f35',
  indexName: 'hexo_zh-cn',
  inputSelector: '#search-input'
});
</script>


</body>
</html>